<template>
  <div>
    <!-- 重置密码 -->
    <div class="total">
      <el-form :label-position="labelPosition" label-width="100px" :model="formLabelAlign">
        <el-form-item label="旧密码">
          <el-input v-model="formLabelAlign.oldpassword"></el-input>
        </el-form-item>
        <el-form-item label="新密码">
          <el-input v-model="formLabelAlign.newpassword"></el-input>
        </el-form-item>
        <el-form-item label="确认密码">
          <el-input v-model="formLabelAlign.confirmpassword"></el-input>
        </el-form-item>
        <el-form-item>
          <el-button type="warning" @click="submit()">修改密码</el-button>
        </el-form-item>
      </el-form>
    </div>
  </div>
</template>

<script>
  export default {
    data() {
      return {
        labelPosition: 'left',
        formLabelAlign: {
          oldpassword: '',
          newpassword: '',
          confirmpassword: ''
        }
      };
    }
  }
</script>

<style lang="scss" scoped>

</style>
<style>
.el-input {
  width: 300px;
}
</style>